package com.exam.sacrifice.ui;

import com.exam.commonbiz.base.BaseFragment;
import com.exam.sacrifice.R;
import com.exam.sacrifice.databinding.FragmentZupuBinding;
import com.exam.sacrifice.viewmodel.FamilyTreeViewModel;
import com.exam.sacrifice.viewmodel.IFamilyTreeCallBack;

public class ZuPuFragment extends BaseFragment<FamilyTreeViewModel, FragmentZupuBinding> implements IFamilyTreeCallBack {

    public static ZuPuFragment newInstance() {
        ZuPuFragment fragment = new ZuPuFragment();
        return fragment;
    }

    @Override
    public void initData() {
        mViewModel.setFamilyTreeCallBack(this);
        mViewModel.myFamilyTree();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_zupu;
    }

    @Override
    protected void loadData() {

    }

    @Override
    public void onFamilyTreeCallBack() {

    }
}
